package com.qf.controller;

import com.qf.service.BService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/b")
public class BController {
    @Autowired
    private BService service;

    @RequestMapping("/add")
    public void add(){
        service.add();
    }

}
